﻿@model Entidades.Seguridad.Grupo

@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<link href="../../Content/themes/bootstrap.extra.table.css" rel="stylesheet" />
<h2>Crear Grupo</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@{Html.EnableClientValidation(true);}
@{Html.EnableUnobtrusiveJavaScript(true);}

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>

            <div class="clearfix">
            @Html.LabelFor(model => model.IdGrupo)
        
                <div class="input">
                    @Html.EditorFor(model => model.IdGrupo)
                    @Html.ValidationMessageFor(model => model.IdGrupo)
                </div>
            </div>

        <div class="clearfix">
            @Html.LabelFor(model => model.Descripcion)
        
            <div class="input">
                @Html.EditorFor(model => model.Descripcion)
                @Html.ValidationMessageFor(model => model.Descripcion)
            </div>
        </div>

        <div class="clearfix">
            @Html.LabelFor(model => model.Estado)
        
            <div class="input">
                @Html.EditorFor(model => model.Estado)
                @Html.ValidationMessageFor(model => model.Estado)
            </div>
        </div>

        <div class="actions">
            <input type="submit" class="btn primary" value="Crear" />
            @Html.ActionLink("Cancelar", "Index", null, new { @class = "btn"})
        </div>

    </fieldset>
}
